#ifndef POKEDEX_H
#define POKEDEX_H

#include <QtGui>
#include <vector>
#include <map>
#include "Pokemon.h"
#include "ParseXML.h"
#include "ui_pokedex.h"


class PokedexClass : public QWidget, private Ui::PokedexClass
{
	Q_OBJECT

	public :
		PokedexClass(QWidget *parent = 0);
		std::vector<Pokemon *> &		getListPokemon();
		std::map<std::string, Skill *> & getListSkills();
	private slots:
		//void on_buttonProfil_clicked();
		void on_butProfil_clicked();
		void on_butStats_clicked();
		void on_butEvolutions_clicked();
		void on_butRatio_clicked();
		void on_butCompet_clicked();
		void on_recherche_clicked();
		void on_next_clicked();

	private:
		void							clearLabel();
		std::vector<Pokemon *>			_listPokemon;
		std::map<std::string, Skill *>	_listSkills;
		int								curentId;
		int								competMemo;
};


#endif